2.30.1 Assembler instructions are not a part of the MIPS instruction set, but often appear
in MIPS programs. The table below contains some MIPS assembly instructions
that get translated to actual MIPS instructions.
a. clear $t0
b. beq $t1, large, LOOP
[5] <2.12> For each assembly instruction in the table above, produce a
minimal sequence of actual MIPS instructions to accomplish the same thing. You
may need to use temporary registers in some cases. In the table large refers to a
number that requires 32 bits to represent and small to a number that can fit into
16 bits.
The table below contains some MIPS assembly instructions that get translated to
actual MIPS instructions.
a. bltu $s0, $t1, Loop
b. ulw $v0, v
 
 
View Solution
 
 
 
<< Back Next >>